package cn.zhentao.charge.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 充电枪对象 charge_station_gun
 * 
 * @author ruoyi
 * @date 2025-05-15
 */
public class ChargeStationGun extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键id */
    private Integer id;

    /** 终端名称 */
    @Excel(name = "终端名称")
    private String gunName;

    /** 终端编号 */
    @Excel(name = "终端编号")
    private String gunNo;

    /** 充电站id */
    @Excel(name = "充电站id")
    private Integer stationId;

    /** 终端类型 0慢充 1快充 */
    @Excel(name = "终端类型 0慢充 1快充")
    private Integer gunType;

    /** 终端功率 */
    @Excel(name = "终端功率")
    private Integer gunPower;

    /** 状态 0空闲中 1使用中 2维护中 3已报废 4调试中 */
    @Excel(name = "状态 0空闲中 1使用中 2维护中 3已报废 4调试中")
    private Integer status;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }

    public void setGunName(String gunName) 
    {
        this.gunName = gunName;
    }

    public String getGunName() 
    {
        return gunName;
    }

    public void setGunNo(String gunNo) 
    {
        this.gunNo = gunNo;
    }

    public String getGunNo() 
    {
        return gunNo;
    }

    public void setStationId(Integer stationId) 
    {
        this.stationId = stationId;
    }

    public Integer getStationId() 
    {
        return stationId;
    }

    public void setGunType(Integer gunType) 
    {
        this.gunType = gunType;
    }

    public Integer getGunType() 
    {
        return gunType;
    }

    public void setGunPower(Integer gunPower) 
    {
        this.gunPower = gunPower;
    }

    public Integer getGunPower() 
    {
        return gunPower;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("gunName", getGunName())
            .append("gunNo", getGunNo())
            .append("stationId", getStationId())
            .append("gunType", getGunType())
            .append("gunPower", getGunPower())
            .append("status", getStatus())
            .append("createTime", getCreateTime())
            .toString();
    }
}
